Skip to content

Fix publish-nuget workflow: resolve signing key path to absolute#725

Merged
YogeshPraj merged 3 commits into
microsoft:mainfrom
YogeshPraj:fix/codeql-add-net10-sdk
May 29, 2026
Merged

Fix publish-nuget workflow: resolve signing key path to absolute#725
YogeshPraj merged 3 commits into
microsoft:mainfrom
YogeshPraj:fix/codeql-add-net10-sdk

Conversation

@YogeshPraj
Copy link
Copy Markdown
Contributor

@YogeshPraj YogeshPraj commented May 21, 2026

fixing github action

Add 10.0.x to dotnet-version in codeql-analysis.yml to support
building projects targeting net10.0.
The script passed a relative path (src/RulesEngine/signKey.snk) to
-p:AssemblyOriginatorKeyFile, but MSBuild resolves that relative to the
project directory, causing it to look for the file at
src/RulesEngine/src/RulesEngine/signKey.snk which doesn't exist.

Convert to absolute path using [System.IO.Path]::GetFullPath() so
MSBuild finds the file at its actual location.
@YogeshPraj YogeshPraj changed the title Add .NET 10 SDK to CodeQL analysis workflow Fix publish-nuget workflow: resolve signing key path to absolute May 29, 2026
@YogeshPraj YogeshPraj merged commit 26e2850 into microsoft:main May 29, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants